package com.javatian;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;


/**
 * 生产者启动类
 */
@SpringBootApplication
@MapperScan("com.javatian.dao")
public class ApplicationProvider {
    private static Logger logger = LoggerFactory.getLogger(ApplicationProvider.class);

    public static void main(String[] args) {
        SpringApplication.run(ApplicationProvider.class,args);
        logger.info("Dubbo Provider start now..........");
    }
}